Returns the targetSdkVersion of the caller, or __ANDROID_API_FUTURE__
if there is no known target SDK version (for code not running in the
context of an app).
The returned values correspond to the named constants in <android/api-level.h>,
and is equivalent to the AndroidManifest.xml targetSdkVersion.
Returns the targetSdkVersion of the caller, or __ANDROID_API_FUTURE__ if there is no known target SDK version (for code not running in the context of an app).
The returned values correspond to the named constants in <android/api-level.h>, and is equivalent to the AndroidManifest.xml targetSdkVersion.
See also android_get_device_api_level().
Available since API level 24.